package com.zmx.b2c.order.web;

import com.zmx.common.common.invocation.InvocationInfoProxy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @ClassName: InvocationInfoProxyController
 * @Author zhaomxr
 * @Date 2022-01-18 09:42
 */
@Slf4j
@RestController
@RequestMapping("invocationInfoProxy")
public class InvocationInfoProxyController {

    @GetMapping
    public String invocationInfoProxy(){
        InvocationInfoProxy.getUserId();
        System.out.println("InvocationInfoProxy:"+InvocationInfoProxy.getUserId());
        return InvocationInfoProxy.getUserId();
    }
}
